package io.renren.modules.generator.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 设备状态
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-06 01:11:03
 */
public class DeviceStateEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//id
	private Integer id;
	//设备mac
	private String deviceMac;
	//状态
	private String state;
	//陀螺仪-x
	private Double gyroX;
	//陀螺仪-y
	private Double gyroY;
	//陀螺仪-z
	private Double gyroZ;
	//
	private Date createTime;

	/**
	 * 设置：id
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：设备mac
	 */
	public void setDeviceMac(String deviceMac) {
		this.deviceMac = deviceMac;
	}
	/**
	 * 获取：设备mac
	 */
	public String getDeviceMac() {
		return deviceMac;
	}
	/**
	 * 设置：状态
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * 获取：状态
	 */
	public String getState() {
		return state;
	}
	/**
	 * 设置：陀螺仪-x
	 */
	public void setGyroX(Double gyroX) {
		this.gyroX = gyroX;
	}
	/**
	 * 获取：陀螺仪-x
	 */
	public Double getGyroX() {
		return gyroX;
	}
	/**
	 * 设置：陀螺仪-y
	 */
	public void setGyroY(Double gyroY) {
		this.gyroY = gyroY;
	}
	/**
	 * 获取：陀螺仪-y
	 */
	public Double getGyroY() {
		return gyroY;
	}
	/**
	 * 设置：陀螺仪-z
	 */
	public void setGyroZ(Double gyroZ) {
		this.gyroZ = gyroZ;
	}
	/**
	 * 获取：陀螺仪-z
	 */
	public Double getGyroZ() {
		return gyroZ;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
}
